import http from '@/utils/http'

/**
 * 提交自定义站点资源
 * @param {
 * } data 前端数据
 * @returns
 */
export function postTest(data) {
  return http({
    url: '/postTest',
    method: 'post',
    data
  })
}

export function searchResource(data) {
  return http({
    url: '/s/search',
    method: 'get',
    data
  })
}

export function todayInfo() {
  return http({
    url: '/todayInfo',
    method: 'get'
  })
}
